#pragma once

#include "Column.h"

namespace WFC = Windows::Foundation::Collections;

namespace TicTacToe
{
	public ref class GridCellsHolder sealed
	{

	public:
		GridCellsHolder(void);
		//~GridCellsHolder(void);

		property WFC::IVector<Column^>^ Columns 
		{ 
			WFC::IVector<Column^>^ get(); 
		} 

		void GridCellsHolder::SetCurrentPlayerInCell(int column, int row, int player);
		int GridCellsHolder::GetCurrentPlayerInCell(int column, int row);
		void GridCellsHolder::SetDimension(int column, int row);
		WFC::IVector<Cell^>^ GetFreeCells();

	private:
		Platform::Collections::Vector<Column^>^ m_columns;
	};
}

